#include "sct/rtspserver/h264videoservermediasubsession.h"

namespace sct
{

CH264VideoServerMediaSubsession::CH264VideoServerMediaSubsession(UsageEnvironment& env, void * source,
		      Boolean reuseFirstSource):
		    		  H264VideoFileServerMediaSubsession(env, "", reuseFirstSource)
{

	mSource = source;
}

CH264VideoServerMediaSubsession::~CH264VideoServerMediaSubsession()
{
	;
}


FramedSource* CH264VideoServerMediaSubsession::createNewStreamSource(unsigned clientSessionId,
						      unsigned& estBitrate)
{


	return H264VideoStreamDiscreteFramer::createNew(envir(),
			new CH264VideoSource(envir(), mSource));
}


}//end namespace
